package org.esprit.ocm.model.ec2;

import java.util.ArrayList;
import java.util.List;

import net.sf.gilead.pojo.java5.LightEntity;

public class IpPermissionMapping extends LightEntity {
	
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1562983413440252117L;
	
	private String			protocol;
	private int				fromPort;
	private int				toPort;
	private List<String>	cidrIps			= new ArrayList<String>();
	private List<String[]>	uid_group_pairs	= new ArrayList<String[]>();

	public String getProtocol() {
		return protocol;
	}

	public int getFromPort() {
		return fromPort;
	}

	public int getToPort() {
		return toPort;
	}

	public List<String> getCidrIps() {
		return cidrIps;
	}

	public List<String[]> getUid_group_pairs() {
		return uid_group_pairs;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public void setFromPort(int fromPort) {
		this.fromPort = fromPort;
	}

	public void setToPort(int toPort) {
		this.toPort = toPort;
	}

	public void setCidrIps(List<String> cidrIps) {
		this.cidrIps = cidrIps;
	}

	public void setUid_group_pairs(List<String[]> uid_group_pairs) {
		this.uid_group_pairs = uid_group_pairs;
	}

}
